Automattic\Jetpack\Device_Detection\User_Agent_Info D

Total Complexity 407
Dependencies 0
Dependents 9
Total lines 2,266
Lines of code 1,392
Logical lines of code 769
Comment lines 679
Methods 66
Properties 7

Methods 66

Method Rating Maintainability Complexity Lines of code
get_mobile_user_agent_name()
C
37 32 70
isTierIphone()
B
36 19 89
is_bot_user_agent()
B
22
4 281
get_browser()
B
48 19 32
get_platform()
B
44 18 45
get_blackbeberry_OS_version()
B
41 17 53
is_symbian_platform()
A
52 13 24
detect_blackberry_browser_version()
A
46 12 37
is_S60_OSSBrowser()
A
52 12 23
isTierRichCss()
A
49 9 34
is_facebook_for_iphone()
A
55 9 19
is_MaemoTablet()
A
54 8 20
is_android_tablet()
A
55 8 19
is_opera_mini_dumb()
A
56 8 17
is_TouchPad()
A
57 8 16
is_iphone_or_ipod()
S
57 7 16
is_iphoneOrIpod()
S
58 7 15
is_tablet()
S
63 7 11
is_mobile_app()
S
55 6 18
get_desktop_platform()
S
58 6 17
is_android()
S
57 6 17
is_blackbeberry()
S
57 6 17
is_ipad()
S
57 6 16
is_facebook_for_ipad()
S
58 6 15
is_opera_mobile()
S
59 6 14
is_WindowsPhone7()
S
59 6 14
is_PalmWebOS()
S
59 6 14
is_MeeGo()
S
59 6 14
is_symbian_s40_platform()
S
60 6 13
is_firefox_os()
S
60 6 12
is_bot()
S
58 5 17
is_twitter_for_ipad()
S
59 5 14
is_J2ME_platform()
S
60 5 13
is_firefox_desktop()
S
61 5 12
is_chrome_for_iOS()
S
59 4 15
is_twitter_for_iphone()
S
59 4 15
is_kindle_fire()
S
59 4 14
is_blackberry_tablet()
S
59 4 14
is_kindle_touch()
S
60 4 13
is_opera_mini()
S
61 4 12
is_edge_browser()
S
62 4 11
is_ie_browser()
S
62 4 11
is_webkit()
S
61 3 13
is_windows8_auth()
S
61 3 13
is_wordpress_for_win8()
S
61 3 13
is_wordpress_desktop_app()
S
61 3 13
is_wordpress_for_ios()
S
62 3 12
is_firefox_mobile()
S
62 3 12
is_windows_phone_8()
S
62 3 12
is_Nintendo_3DS()
S
63 3 11
__construct()
S
68 3 7
maybe_get_user_agent_from_server()
S
66 3 9
is_safari_browser()
S
64 3 10
is_opera_desktop()
S
64 3 10
is_uc_browser()
S
67 3 7
is_miui_browser()
S
67 3 7
is_blackberry_10()
S
65 3 8
is_linux_desktop()
S
64 3 10
is_mac_desktop()
S
64 3 10
is_windows_desktop()
S
64 3 10
is_chrome_desktop()
S
64 3 10
is_samsung_browser()
S
68 2 7
is_yandex_browser()
S
68 2 7
is_vivaldi_browser()
S
68 2 7
is_silk_browser()
S
68 2 7
get_browser_display_name()
S
75 1 4